package com.client;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.InlineLabel;

public class Tag extends InlineLabel {

	public Tag() {
		super();
		this.setStyleName("appTag");
	}
	
}

final class ClkAddTag implements ClickHandler {
	public void onClick(ClickEvent event) {
		Tag tag = (Tag) event.getSource();
		CNStatsFront.get().plSearch.hSearchHint.setVisible(false);
		CNStatsFront.get().plSearch.addTag(tag.getText());
		CNStatsFront.get().plSearch.ptpTags.showTags(
				CNStatsFront.get().plSearch.tpTags.getTagsText(), "next");
	}
}
